import request from '@/utils/request'

// demo模式开启数据模拟
export function allSwitch() {
    return request({
        url: '/visualization/demo/allSwitch',
        method: 'get',
    })
}

// demo模式开启数据模拟
export function setData(data) {
    return request({
        url: '/visualization/demo/setData',
        method: 'post',
        data: data
    })
}